<template>
  <div class="lunbo">
    <el-carousel type="card" :autoplay="false" height="200px">
      <el-carousel-item v-for="(item, index) in mess" :key="index">
        <img :src="item.img" alt="" />
      </el-carousel-item>
    </el-carousel>
  </div>
</template>
<script>
export default {
  name: "Xiaolunbo",
  props: ["mess"],
};
</script>
<style lang="less" scoped>
.lunbo {
  width: 426px;
  padding: 0 60px;
}
.el-carousel {
  height: 100%;
}
img {
  width: 100%;
}
</style>